//引入时间发布对象
import {EventEmitter} from 'events'
//新建事件发布对象
const eventEmitter =new EventEmitter();
export default eventEmitter